﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace Silvermoon.Controls
{
    /// <summary>
    /// Specifies method a control must implement to receive keyboard information.
    /// </summary>
    public interface IInputEventBehavior
    {
        void OnKeyDown(KeyEventArgs e);
        void OnKeyUp(KeyEventArgs e);
        void OnKeyPress(KeyPressEventArgs e);

        void OnGotFocus();
        void OnLostFocus();

        bool IsFocused { get; }

        bool CanFocus { get; }
    }
}
